package com.warm.base.design.s_facade;

/**
 * @Date: 2019/11/28 13:55
 * @Author: LChuang
 * @Description:
 */
public class Facade {

    private ISystem subSystemA;

    private ISystem subSystemB;

    public Facade(){
        subSystemA = new SubSystemA();
        subSystemB = new SubSystemB();
    }

    public void drawAll(){
        subSystemA.draw();
        subSystemB.draw();
    }
}
